package com.ict.ms.area.facade.dto;

import java.util.List;

/**
 * 矩形，多边形直接使用，圆形，扇形继承
 * Created by StevenH on 2017/11/15.
 */
public class GeoDto {
    public String type;
    public Geometry geometry;
    public Properties properties;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Geometry getGeometry() {
        return geometry;
    }

    public void setGeometry(Geometry geometry) {
        this.geometry = geometry;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public static class Geometry{
        public String type;
        public double[][] coordinates;

        public Geometry(String type, double[][] coordinates) {
            this.type = type;
            this.coordinates = coordinates;
        }
    }
    public static class Properties{
        public int id;
        public String name;
        public int shape;
        public int status;

        public  Properties(int id, String name, int shape, int status) {
            this.id = id;
            this.name = name;
            this.shape = shape;
            this.status = status;
        }
    }
    /*public static class PointLatLon{
        public int lat;
        public int lon;

        public PointLatLon(int lat, int lon) {
            this.lat = lat;
            this.lon = lon;
        }
    }*/
}
